package com.byzk.p2p.admin.order.dto;

import java.util.Date;

import com.byzk.p2p.admin.base.util.PageUtil;

public class TenderOrder extends PageUtil {

	private Integer id;// 主键

	private Integer order;// 序号

	private Integer userid;// 用户id

	private Integer status;// 开启状态

	private Date updateDate;// 最后修改时间

	private Date createDate;// 创建时间
	
	private Integer rowno;//排序(伪列)
	
	// 开启状态
	public static enum Status {
		CLOSE(0, "关闭"), START(1, "开启");

		public int index;
		public String name;

		private Status(int index, String name) {
			this.index = index;
			this.name = name;
		}
	}

	/**
	 * @return the id 主键
	 */
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	/**
	 * @return the order 序号
	 */
	public Integer getOrder() {
		return order;
	}

	public void setOrder(Integer order) {
		this.order = order;
	}

	/**
	 * @return the userid 用户id
	 */
	public Integer getUserid() {
		return userid;
	}

	public void setUserid(Integer userid) {
		this.userid = userid;
	}

	/**
	 * @return the status 开启状态
	 */
	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	/**
	 * @return the updateDate 最后修改时间
	 */
	public Date getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}

	/**
	 * @return the createDate 创建时间
	 */
	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	/**
	 * @return the rowno
	 */
	public Integer getRowno() {
		return rowno;
	}

	/**
	 * @param rowno the rowno to set
	 * 伪列（无需传值）
	 */
	public void setRowno(Integer rowno) {
		this.rowno = rowno;
	}

}